﻿using LJX.SmartPark.Domain.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Domain.SafeManage.PatrolRecord
{
    public class PatrolRecord: KeyEntity
    {
        /// <summary>
        /// 巡更计划Id
        /// </summary>
        public int PatrolplanId { get; set; }

        /// <summary>
        /// 计划名称
        /// </summary>
        public string? PatrolplanName { get; set; }

        /// <summary>
        /// 巡更路线Id
        /// </summary>
        public int PatrolpathId { get; set; }

        /// <summary>
        /// 巡更点Id
        /// </summary>
        public int PatrolSiteId { get; set; }

        /// <summary>
        /// 巡更人员Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 巡更日期
        /// </summary>
        public DateTime PatrolPlanDate { get; set; }

        /// <summary>
        /// 巡更时间段
        /// </summary>
        public string? PatrolDate { get; set; }

        /// <summary>
        /// 巡更时间
        /// </summary>
        public string? Time { get; set; }

        /// <summary>
        /// 巡更照片
        /// </summary>
        public string? Photograph { get; set; }

        /// <summary>
        /// 巡更状态
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 巡更备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 应巡更总数
        /// </summary>
        public int Answersum { get; set; }

        /// <summary>
        /// 已巡更总数
        /// </summary>
        public int Alreadysum { get; set; }

        /// <summary>
        /// 未巡更总数
        /// </summary>
        public int Notsum { get; set; }

        /// <summary>
        /// 超时巡更数
        /// </summary>
        public int Overtime { get; set; }

        /// <summary>
        /// 巡更完成率
        /// </summary>
        public string? Accomplish { get; set; }
    }
}
